from django.conf.urls.defaults import *
from lugtrelew.blog.views import *
from models import *


 

urlpatterns=patterns('',
                     (r'^/?$', listar_blogs),
                     (r'^(?P<slug_blog>\w+)/$', listar_posts_de_blog),
                     (r'^(?P<slug_blog>\w+)/(?P<dia>\w{1,2})/(?P<mes>\d{1,2})/(?P<anio>\d{4})/(?P<slug_post>\w+)/$', leer_post),
                     (r'^all-posts/$',  listar_todos_los_posts),
                     (r'^tag/(?P<tag>\w+)/$', listar_posts_por_tag),
                                                      

                   ) 



